<html>
<head><meta charset="utf-8"><title>playground link in Zulip uses wrong edition · zulip · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/index.html">zulip</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html">playground link in Zulip uses wrong edition</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217839928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/playground%20link%20in%20Zulip%20uses%20wrong%20edition/near/217839928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html#217839928">(Nov 25 2020 at 02:56)</a>:</h4>
<p>When you hover over a Rust code block in Zulip, you can click a link in the top-right corner that will open the code on the playground. However, it doesn't pass an edition query parameter, so the playground uses 2015 by default (like rustc). It would be better if it used 2018 edition. Not sure if this is a built-in Zulip feature though, in which case we can't fix it here.</p>



<a name="217945603"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/playground%20link%20in%20Zulip%20uses%20wrong%20edition/near/217945603" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html#217945603">(Nov 25 2020 at 22:14)</a>:</h4>
<p>It doesn't look like there's any organizational setting for that.</p>



<a name="217945615"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/playground%20link%20in%20Zulip%20uses%20wrong%20edition/near/217945615" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html#217945615">(Nov 25 2020 at 22:14)</a>:</h4>
<p>So it may be built-in. Please do file something upstream asking about that.</p>



<a name="218038182"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/playground%20link%20in%20Zulip%20uses%20wrong%20edition/near/218038182" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html#218038182">(Nov 26 2020 at 21:03)</a>:</h4>
<p><a href="https://github.com/zulip/zulip/pull/16797">https://github.com/zulip/zulip/pull/16797</a></p>



<a name="218245134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/playground%20link%20in%20Zulip%20uses%20wrong%20edition/near/218245134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/playground.20link.20in.20Zulip.20uses.20wrong.20edition.html#218245134">(Nov 30 2020 at 03:30)</a>:</h4>
<p>Merged!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>